package P3.T11;

public class T11 {
    public static void main(String[] args) {
        StringBuffer s=new StringBuffer("1234567");
        System.out.println(s.delete(0,3));
        System.out.println("12342345".indexOf("2",5));
        int[] a={1,2,3,4,5},b=new int[10];
        System.arraycopy(a,2,b,2,2);
        for(int i:b) System.out.println(i);
    }
}
